# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Panagiotis Papadopoulos

pkgname=wildmidi
pkgver=0.2.3.5
pkgrel=2
pkgdesc='Open Source MIDI Synthesizer'
arch=('i686' 'x86_64')
url='http://wildmidi.sourceforge.net/'
license=('LGPL3')
depends=('alsa-lib')
options=(!makeflags !libtool)
source=(http://sourceforge.net/projects/wildmidi/files/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('44583c95fd67761f8cd6275fd1c312f2')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr --disable-werror
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
